package edu.hwadee.entity;

/**
 * Materialstorage entity. @author MyEclipse Persistence Tools
 */

public class Materialstorage implements java.io.Serializable {

	// Fields

	private Integer materialstorageId;
	private Storage storage;
	private Material material;
	private Float number;
	private Float threshold;

	// Constructors

	/** default constructor */
	public Materialstorage() {
	}

	/** full constructor */
	public Materialstorage(Storage storage, Material material, Float number, Float threshold) {
		this.storage = storage;
		this.material = material;
		this.number = number;
		this.threshold = threshold;
	}

	// Property accessors

	public Integer getMaterialstorageId() {
		return this.materialstorageId;
	}

	public void setMaterialstorageId(Integer materialstorageId) {
		this.materialstorageId = materialstorageId;
	}

	public Storage getStorage() {
		return this.storage;
	}

	public void setStorage(Storage storage) {
		this.storage = storage;
	}

	public Material getMaterial() {
		return this.material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Float getNumber() {
		return this.number;
	}

	public void setNumber(Float number) {
		this.number = number;
	}

	public Float getThreshold() {
		return this.threshold;
	}

	public void setThreshold(Float threshold) {
		this.threshold = threshold;
	}

}